package enum

import "mldong/utility"

func init() {
	utility.RegisterEnumValues("是否", "yes_no", []interface{}{
		YES_NO_YES,
		YES_NO_NO,
	})
}

// 是否枚举
type YesNoEnum struct {
	Key     string
	Code    int
	Message string
}

var YES_NO_YES = YesNoEnum{Key: "YES", Code: 1, Message: "是"}
var YES_NO_NO = YesNoEnum{Key: "NO", Code: 0, Message: "否"}
